<template>
  <div>
    <div class="swiperStyle">
      <MySwiper :imgarr="imgarr" />
    </div>
    <div class="price">
      <h1><span>￥</span>&nbsp;&nbsp;2599</h1>
      <div class="price-bottom">
        <div class="price-bottom-l">预计得260米金</div>
        <div class="price-bottom-r">查看</div>
      </div>
    </div>

    <div class="mi-new">
      <span>
        <img src="https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/84d5f1a65f4223e8fe1b076e93876441.png" alt="">
      </span>
      <p>来这里，发现属于你的新品</p>
      <i class="iconfont">&#xe633;</i>
    </div>

    <div class="introduce">
      <h1>Xiaomi Civi</h1>
      <h5>「购机享6期免息，信用卡分期最高立减200元；赠Keep会员7天体验卡；+110元得蓝牙耳机Air2 SE」</h5>
      <p class="p-one">【轻薄精巧】巧妙身姿，薄得巧，轻得妙</p>
      <p class="p-two">【质感自拍】3200万双柔光自拍，像素级肌肤焕新技术</p>
      <p class="p-three">【微曲柔性屏】120Hz曲面原色屏，支持Dolby Vision</p>
      <span>Xiaomi Civi · 购机优选福利</span>
    </div>
  </div>
</template>

<script>
import MySwiper from '../../components/swiper/swiper.vue'
export default {
  name:'detail',
  components:{
    MySwiper,
  },
  data() {
    return {
      imgarr: [
        "https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/da710771a3d88c7430176c0045a4cc2b.jpg",
        "https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/9df140d0cded716d1546d575ef19bb22.jpg",
        "https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/5f82db2d5ec052935a1d77fb69aa8bd9.jpg",
        "https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/d64a9dbf4815da4abf88bad442dba9c8.jpg",
        "https://cdn.cnbj1.fds.api.mi-img.com/mi-mall/6e31078d6d8753e549c01d3462ebbde4.jpg"
      ],
    }
  },
}
</script>

<style scoped>
.introduce span{
  width: 1.47rem;
  height: .21rem;
  border-radius: .05rem;
  color: #444;
  background-color: #f0f0f0;
    line-height: .21rem;
    font-size: .12rem;
    margin-left: .1rem;
}
.p-one{
  background-image: url();
  
}
.p-two{
  background-image: url();
  
}
.p-three{
  background-image: url();
  
}
.introduce p{
  padding-left: .1rem;
  background-repeat: no-repeat;
  background-size: .14rem .14rem;
  background-position: .03rem;
  font-size: .125rem;
  padding: .05rem 0;
}
.introduce{
  padding: .1rem;
}
.introduce h1{
  height: .25rem;
  margin: .08rem 0;
  font-size: .16rem;
}
.mi-new{
  height: .44rem;
  padding:.1rem;
  margin-top: .1rem;
  border-bottom: .01rem solid rgba(0,0,0,.1);
}
.mi-new span img{
  float: left;
  width: .74rem;
  height: .2rem;
}
.mi-new p{
  float: left;
  font-size: .12rem;
  margin-left: .05rem;
}
.mi-new i{
  float: right;
  font-size: .12rem;
  color: #666666;
}
.swiperStyle{
  height: 4.12rem;
}
.price{
  height: .7rem;
}
.price h1{
  color: #ff6700;
  font-size: .25rem;
  position: relative;
  padding-left: .1rem;
  margin: .1rem 0;
}
.price h1 span{
  font-size: .12rem;
  color: #ff6700;
  position: absolute;
  top: .05rem;
}
.price-bottom{
  height: .36rem;
  padding: .1rem;
  margin-left: .1rem;
  background-color: rgba(255,105,0,.1)
}
.price-bottom-l{
  display: inline-block;
  width: .85rem;
  height: .15rem;
  border: .01rem solid #ff6900;
  color: #ff6900;
  font-size: .12rem;
}
.price-bottom-r{
  float: right;
  width: .41rem;
  height: .18rem;
  background-color:#ff6900 ;
  color: white;
  font-size: .12rem;
  border-radius: .03rem;
  text-align: center;
  line-height: .18rem;
}
</style>